#pragma once
class Unit
{
public:
	Unit(int x, int y, int size = 50,double HP = 100,double maxHP = 100);
	int get_x();
	int get_y();
	int get_size();
	double get_HP();
	double get_maxHP();
	int showHP();
	void changeData(int x,int y ,int size);
	void changeHP(double now_HP);
private:
	int m_x;
	int m_y;
	int m_size;
	double m_HP;
	double m_maxHP;
};

